package com.five.admin.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.five.admin.vo.MenuRouterVo;
import com.five.admin.vo.MenuTreeVo;
import com.five.pojo.entity.Menu;

import java.util.List;

public interface MenuService extends IService<Menu> {
    /**
     * 菜单树形结构
     * @return
     */
    List<MenuTreeVo> getMenuTree();

    List<MenuRouterVo> getMenuRouter();

    List<Menu> getRoleHasMenu(Long id);

    void deleteRoleMenu(Long menuID);
}
